package com.xnyzc.lhy.common.constant;

/**
 * @Author: huxuekuo
 * @Date: 2019-08-14 16:36
 * @Description: redis key 常量
 */
public class RedisPrefixConstant {

    /**
     * 预估价格
     */
    public static final String DIDI_ESTIMATE = "didi:estimate:";

    /**
     * 预估价格数量
     */
    public static final String DIDI_ESTIMATE_NUMBER = "didi:estimate:number:";

    /**
     * 滴滴抢单结果回调
     */
    public static final String DIDI_GRAB_SHEET_RESULT = "grab:sheet:";

    /**
     * 司机接受订单信息暂存
     */
    public static final String ORDER_VEH_TEMPORARY_STORAGE = "order:veh_storage:";

    /**
     * 司机轨迹前缀
     */
    public static final String GPS_VEH_KEY_PREFIX = "gps:oa_d_vehicle_gps:"; //gps:oa_d_vehicle_gps:

    /**
     * 用户轨迹前缀
     */
    public static final String GPS_USER_KEYP_REFIX = "gps:oa_c_user_gps:";

    /**
     * 司机订单
     */
    public static final String ORDER_OA_D_ORDER = "order:oa_d_order:";
    /**
     * 自费订单前缀
     */
    public static final String ORDER_PERSONAL_KEY_PREFIX = "order:oa_c_order_personal:";

    /**
     * 个人公务订单前缀
     */
    public static final String ORDER_PERSONAL_OFFICIAL_KEY_PREFIX = "order:oa_c_order_personal_official:";

    /**
     * 部门公务订单前缀
     */
    public static final String ORDER_DEPT_OFFICIAL_KEYP_REFIX = "order:oa_c_order_dept_official:";

    /**
     * 审批公务订单前缀
     */
    public static final String ORDER_APPROVAL_OFFICIAL_KEY_PREFIX = "order:oa_c_order_approval_official:";

    /**
     * 计费规则前缀
     */
    public static final String BILL_RULES = "billRules:oa_sys_bill_rules:";
    /**
     * 日租车计费规则
     */
    public static final String BILL_RULES_CHARTERED = "billRules:oa_sys_bill_rules_chartered:";
    /**
     * 特殊计费规则前缀
     */
    public static final String BILL_SPECIAL_RULES = "billSpecialRules:oa_sys_bill_special_rules:";

    /**
     * 特殊时段计费规则前缀
     */
    public static final String BILL_SPECIAL_TIME_RULES = "billSpecialRules:oa_sys_bill_special_rules:";
    /**
     * 特殊日期计费规则前缀
     */
    public static final String BILL_SPECIAL_DATE_RULES = "billSpecialRules:oa_sys_bill_special_date_rules:";

    /**
     * 禁行区域前缀
     */
    public static final String BILL_SPECIAL_EMBARGO_AREA = "embargoArea:oa_sys_bill_rule_embargo:";
    /**
     * 司机日统计前缀
     */
    public static final String WORK_OA_D_WORK_STATISTICS = "work:oa_d_work_statistics:";

    /**
     * 司机开始接单时储存
     */
    public static final String WORK_OA_D_WORK_RECORD = "work:oa_d_work_record:";

    /**
     * 司机获取派单信息
     */
    public static final String ORDER_VEH = "order:veh:";

    /**
     * 用户获取接单信息
     */
    public static final String ORDER_USER = "order:user:";

    /**
     * 调度
     */
    public static final String DIRVER_GEO = "dirver_geo:";

    /**
     * 订单匹配的司机列表
     */
    public static final String ORDER_DRIVER_LIST = "order:driver_list:";

    /**
     * 释放司机依据
     */
    public static final String DRIVER_IS_ERROR = "driver:error:";
    /**
     * 活跃司机
     */
    public static final String DRIVER_ACTIVE = "active_driver:";

    public static final String ORDER_DISPATCH_INFO = "order:dispatch_info:";

    public static final String ORDER_BOOKING = "order:booking:";

    /**
     * 同程订单大厅，用于盛放所有待抢订单-延时任务有序队列1
     */
    public static final String ORDER_TC_HALL = "order:hall:";

    /**
     * 同程订单延时任务有序队列2
     */
    public static final String ORDER_TC_ZSET2 = "order:zset2:";

    /**
     * 同程订单延时任务有序队列3
     */
    public static final String ORDER_TC_ZSET3 = "order:zset3:";

    /**
     * 同程订单延时任务有序队列4
     */
    public static final String ORDER_TC_ZSET4 = "order:zset4:";

    /**
     * 同程订单延时任务有序队列5
     */
    public static final String ORDER_TC_ZSET5 = "order:zset5:";

    /**
     * 司管已发送的订单短信 -预警
     */
    public static final String MANAGER_ORDER_MSG = "managerOrderMSG";
    /**
     * 司机已发送的订单短信-预警
     */
    public static final String DRIVER_ORDER_MSG = "driverOrderMSG";
    /**
     * 高的猎鹰服务key
     */
    public static final String GOULD_LY_SERVICE_KEY="gould:ly:serviceKey";
    /**
     * 司机当前订单上传猎鹰服务的标识
     */
    public static final String GOULD_LY_ORDER_KEY="gould_ly_order_key:";
    /**
     * 城市中心点列表，使用List类型
     */
    public static final String CITY_CENTER_POINTS="city_center_points:";

    /*同程平台时间段控制*/
    public static final String PLATFORM_TIME_RULE = "platform_time_rules:";
}
